import { Tool } from '../../../Tool';
import CesiumApp from '../CesiumApp';

/**
 * 后一视图
 */
export class RedoTool extends Tool {
	constructor(viewer) {
		super(arguments);
		this.viewer = viewer;
	}

	start() {
		CesiumApp.camera.redo();
	}

	cancel() {
		return super.cancel();
	}
}
RedoTool.toolId = 'RedoTool';
